import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/utils/element.js'
import 'element-ui/lib/theme-chalk/index.css';
import VCharts from 'v-charts-v2'
import 'v-charts-v2/lib/style.css'
// const echarts = require('echarts')
import * as echarts from 'echarts';
import VueECharts from 'vue-echarts'
Vue.use(VCharts)

Vue.config.productionTip = false
Vue.prototype.$echarts = echarts
Vue.component('v-chart', VueECharts)
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')